package com.moli.iov.protocol.model.dto;

import java.io.Serializable;

/**
 * @author fudh
 * @ClassNmme VehicleOnLineDto
 * @date 2018/12/3 17:02
 * @Description: 车辆上线下线dto
 */
public class VehicleOnLineDto  implements Serializable{

    public static final long serialVersionUID = 1L;

    public VehicleOnLineDto(String vin, Boolean status, Long timestamp) {
        this.vin = vin;
        this.status = status;
        this.timestamp = timestamp;
    }

    public VehicleOnLineDto() {

    }

    /**
     * 车架号
     */
    private  String vin;

    /***
     * 车辆的状态。true，上线，false，下线
     */
    private  Boolean status;

    /***
     * 上线或者下线的时间戳
     */
    private Long timestamp;

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

	public Boolean getStatus() {
		return status;
	}

	public void setStatus(Boolean status) {
		this.status = status;
	}

	public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }
}
